package com.demo.batch.job;

import lombok.extern.slf4j.Slf4j;
import org.springframework.batch.item.ItemWriter;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 *
 * @author
 * @since
 */
@Component
@Slf4j
public class DemoItemWriter implements ItemWriter<String> {

  @Override
  public void write(List<? extends String> list) throws Exception {
    log.info(" ========= DemoItemWriter execute : {}", list);
  }
}
